home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Emulators / v2600 / Source.lha / Source / display.h < prev    next >
C/C++ Source or Header  |  1997-04-24  |  1KB  |  43 lines

  1. /*****************************************************************************
  2.  
  3.    This file is part of x2600, the Atari 2600 Emulator
  4.    ===================================================
  5.    
  6.    Copyright 1996 Alex Hornby. For contributions see the file CREDITS.
  7.  
  8.    This software is distributed under the terms of the GNU General Public
  9.    License. This is free software with ABSOLUTELY NO WARRANTY.
  10.    
  11.    See the file COPYING for details.
  12.    
  13.    $Id: display.h,v 1.11 1996/08/24 19:00:26 ahornby Exp $
  14.  
  15.    Tweaked by Matthew Stroup for Amiga v2600, January 27, 1997.
  16.  
  17. ******************************************************************************/
  18.  
  19. /*
  20.   Defines for the X11 display code.
  21.   */
  22.  
  23. #ifndef DISPLAY_H
  24. #define DISPLAY_H
  25.  
  26. #define NUMCOLS 128
  27.  
  28. int fselLoad(void);
  29. void rate_update(void);
  30. void tv_off(void);
  31. int tv_on(int argc, char **argv);
  32. void tv_event(void);
  33. void tv_display(void);
  34. void tv_putpixel(int x, int y, UBYTE value);
  35. extern UBYTE tv_color(UBYTE b);
  36. extern int redraw_flag;
  37.  
  38. extern UBYTE *vscreen;
  39. extern int vwidth,vheight,theight;
  40. extern int tv_counter;
  41. extern UBYTE colors[NUMCOLS];
  42. #endif
  43.